  <tr valign="top">
    <td height="40" align="left" class="dato" background="/images/topHeader.gif" colspan="4">Categorias</td>
  </tr>
    <tr>
     <td colspan="4" align="center" background="/images/vg.jpg"><span class="subdatos">Edición de <%= @category.name %></td>
  </tr>
    <tr><td>&nbsp;</td></tr>

<% form_for @category, :html => { :multipart => true } do |f| %>
  <%= f.error_messages %>
 <tr>
 	<td>Nombre : <%= f.text_field :name, :size => 15 %></td>
 </tr>
  <tr>
 	<td>Descrip : <%= f.text_field :description, :size =>30 %></td>
 </tr>
   <tr>
 	<td>img URL: <%=  f.file_field :photo, :size =>30 %></td>
 </tr>
     <tr><td>&nbsp;</td></tr>
  <tr>
 	<td><%= f.submit 'Update' %></td>
  </tr>
<% end %>

  <tr>
 	<td><%= link_to 'Mostrar', @category %>
<%= link_to 'Regresar', categories_path %></td>
  </tr>
